<?php
	
	error_reporting(0);
	
	session_start();
	
	$defaultRecipient="";
	$defaultRecipient=$_GET['touser'];
	
	$defaultSubject="";
	$defaultSubject=$_GET['subject'];
	
	error_reporting(1);
	
	$id = $_GET['id'];
	
?>

<head>
	<link rel="stylesheet" type="text/css" href="profile_inner.css" />
</head>

<img src="/img/icons/back.gif"><a href="frame.php?page=profile"> Return to profile </a>

<div class="padded_text">

<div class="head">
	Send Message
</div>

<form name="login" method="post" action="sendmessage.php">
	<p />Send to: <input name="touser" class="loginform" type="text" size="20" value="<?php echo $defaultRecipient ?>" />
	
	<p />Subject: <input name="subject" class="loginform" type="text" size="40" value="<?php echo $defaultSubject ?>" />
	
	<p />Message:
	<br /><textarea name="message" rows=8 cols=65></textarea>
	
	<p /><input class="loginform" type="submit" value="Send" />
</form>

<p /><img src="/img/icons/back.gif"><a href="frame.php?page=inbox">Back to my inbox</a>

</div>
